package 简单工厂;

public abstract class Pizza {
	protected String name;
	
	// 准备原材料
	public abstract void prepare();
	
	// 
	public void bake() {
		System.out.println(name + " backing");
	}
	
	public void setName(String name) {
		this.name = name;
	}

}
